package com.finalterm.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 用户服务启动类
 */
@EnableFeignClients //启用远程服务调用注解
@SpringBootApplication(scanBasePackages = {"com.finalterm.user", "com.finalterm.common"})
@EnableDiscoveryClient //启用服务发现注解
public class UserServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
    }
}
